/*
 * Node.h
 *
 *  Created on: Jul 20, 2012
 *      Author: hxu
 */

#ifndef NODE_H_
#define NODE_H_


class Node {
public:
	Node(char d, Node* new_next);
	virtual ~Node();
	char get_data() const;
	Node* get_next() const;
	void set_data(const char d);
	void set_next(Node* new_next);

private:
	char data;
	Node* next;
};

#endif /* NODE_H_ */
